-- GENERATED SPELL FOR [Eisenfaust] --


function spell0_30341(pUnit, Event) --@Stomp,n/a--
pUnit:FullCastSpellOnTarget(56490,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30341', 633, 1)
end

function Sorts_30341(pUnit, Event)
local choix_sorts_30341 = math.random(0, 0)
if choix_sorts_30341 == 0 then
pUnit:RegisterEvent('spell0_30341', 1, 1)
end
end

function mob30341_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30341', math.random(1500, 3000), 1)
end

function mob30341_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30341_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30341_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30341, 1, 'mob30341_Action')
RegisterUnitEvent(30341, 2, 'mob30341_Leave')
RegisterUnitEvent(30341, 3, 'mob30341_Kill')
RegisterUnitEvent(30341, 4, 'mob30341_Die')
